<head>
<jsp:directive.include
	file="/WEB-INF/jsp/prelude/include-head-meta.jspf" />
<title>My Home Page</title>
</head>
<body>
	<div class="container">
		<!-- Content here -->
		<c:if test="${registerResult}">
		<div class="alert alert-success">注册成功! </div>
		</c:if>
		<c:if test="${!registerResult}">
			<div class="alert alert-danger">请勿重复注册! </div>
		</c:if>

		<div class="row">
			<p>用户列表</p>
			<table class="table table-striped table-bordered table-condensed">
				<tr>
					<th>ID</th>
					<th>姓名</th>
					<th>邮箱</th>
				</tr>
				<c:forEach items="${users}" var="user" >
					<tr>
						<td>${user.id}</td>
						<td>${user.name}</td>
						<td>${user.email}</td>
						<td>${user.phoneNumber}</td>
					</tr>
				</c:forEach>
			</table>
		</div>


	</div>
</body>